package com.hyh.spring.dao;

import com.hyh.spring.model.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @BelongsPackage: com.hyh.spring.dao
 * @ClassName PaymentMapper
 * @Author: hyhWTX
 * @CreateTime: 2023-03-27  21:17
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@Mapper
public interface PaymentDao {

    /**
     * 添加账户信息
     * @param payment
     * @return
     */
    public  int create(Payment payment);
    /**
     * 通过id查询数据
     * @param id
     * @return
     */
    public Payment getPaymentById(@Param("id") Long id);
}
